package nsd.test.zy01;

public class Car extends Vehicle {
    private int loader;

    public Car(int loader) {
        this.loader = loader;
    }

    public Car(String brand, String color, double speeed) {
        super(brand, color, speeed);
    }

    @Override
    public void run(){
        System.out.println(getColor()+"的"+getBrand()+"的载人数是"+loader+"人,速度是"+getSpeeed());
    }
}
